<template>
  <div>
    <p>this is flex</p>
    <div class="box">
      <div class="flexItem">a</div>
      <div class="flexItem">b</div>
      <div class="flexItem">c</div>
      <div class="flexItem">d</div>
      <div class="flexItem">c</div>
      <div class="flexItem">d</div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.box {
  display: flex;
  width: 400px;
  height: 300px;
  border: 1px solid greenyellow;
  flex-flow: row wrap;
  justify-content: space-between;
}
.flexItem {
  width: 100px;
  min-width: 100px;
  height: 100px;
  background: red;
}
.flexItem:first-child {
  /* height: 100px; */
}
.flexItem:last-child {
  /* height: 50px; */
}
</style>
